<?php
$id=$_GET["q"]; 
$email=$_GET["email"];
        $mysql_servername="127.0.0.1";       
		$mysql_username="root";        
		$mysql_password="";         
		$mysql_dbname="paradigmshift_dev";        
		$conn=mysql_connect($mysql_servername,$mysql_username,$mysql_password);      
		if(!$conn)   
		{           
			die('Could not connect: ' . mysql_error());                 
		} 
		mysql_select_db("paradigmshift_dev", $conn);
		mysql_query("update employees set empStatus='".$email."' where empID=".$id);
		$response="Done";
?> 